package org.java.user;

import org.java.user.api.PasswordEncoderConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableDiscoveryClient
@EntityScan(basePackages = {"org.java.user","org.java.user.api"})
@Import(PasswordEncoderConfig.class)
public class UserCenter {
    public static void main(String[] args) {
        SpringApplication.run(UserCenter.class,args);
    }
}
